export interface UserInt{
    id:number,
    nickName:string,
    role:RoleInt[],
    userName:string
}
interface RoleInt{
    role:number,
    roleName:string
}
interface selectDataInt{
    role:number,
    nickName:string
}
interface RoleListInit{
    authority:number[],
    roleId:number,
    roleName:string
}
interface ActiveInt{
    id:number,
    nickName:string,
    role:string[],
    userName:string
}
export class InitData{
    selectData:selectDataInt={
        nickName:'',
        role:0
    }
    list:UserInt[]=[]//用来接受用户信息的列表
    roleList:RoleListInit[]=[]//用来接受角色信息的列表
    isShow=false
    active:ActiveInt={//选中的对象
        id:0,
        nickName:"",
        role:[],
        userName:""
    }
}